# -*- coding:utf8 -*-
# !/usr/bin/python
'''
author: ning.luo
createTime: 2022/1/23 22:29
update: ning.luo
updateTime: 2022/1/23 22:29
description: 文件简介描述
'''
import os

import pytest

from common.handle_common import HandleCommon
from common.handle_path import report_dir

if __name__ == '__main__':
    report_path = report_dir + os.sep + "result"
    report_html_path = report_dir + os.sep + "html"
    pytest.main(["--html", "./report/test_report.html", "--self-contained-html"])
    # pytest.main(["-s", "./report", "--alluredir", report_path])
    # pytest.main(["-s", '-n=auto', "./src", "--alluredir", report_path])
    # pytest.main(["-s", "./src", "--tests-per-worker 4"])
    # HandleCommon().allure_report(report_path, report_html_path)